<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
                    <li class="active"><a href="{:U('Wuyefuwu/xqgonggaolist')}">小区公告</a></li>
                    <li><a href="{:U('Wuyefuwu/xqgonggaoadd')}">添加公告</a></li>
		</ul>
            <form class="well form-search" method="get">
                    <label for="">公告名称：</label>
                    <input type="text" name="keyword" style="width: 300px;" value="" placeholder="请输入公告名称..."> &nbsp; &nbsp; &nbsp; &nbsp;
                    <input type="submit" class="btn btn-primary" value="搜索">
            </form>
		<form method="post" class="js-ajax-form">
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
                                            <th>公告名称</th>
                                            <th>添加时间</th>
                                            <th>是否顶置</th>
                                            <th>操作</th>
						
					</tr>
				</thead>
				<tbody>
					<foreach name="info" item="vo">
					<tr>
						<td>{$vo.title}</td>
						<td>{$vo.publishtime}</td>
						<td>{$vo.istop}</td>
                                                <td>
                                                    <a href="{:U('Wuyefuwu/xqgonggaoupdata',array('id'=>$vo['id']))}">修改</a>&nbsp;|&nbsp;
                                                    <a class='js-ajax-delete' href="{:U('Wuyefuwu/xqgonggaodelete',array('id'=>$vo['id']))}">删除</a>
                                                </td>
						
					</tr>
					</foreach>
				</tbody>
			</table>
			<div class="pagination">{$page}</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>